package com.jack006.pojo.bo;

import javax.validation.constraints.NotBlank;

/**
 * @Classname SaveCategoryBO
 * @Description 文章分类对象
 * @Date 2021-07-03 14:35
 * @Created by jack
 */
public class SaveCategoryBO {


    private Integer id;

    @NotBlank(message = "分类名不能为空")
    private String name;

    private String oldName;

    @NotBlank(message = "分类颜色不能为空")
    private String tagColor;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOldName() {
        return oldName;
    }

    public void setOldName(String oldName) {
        this.oldName = oldName;
    }

    public String getTagColor() {
        return tagColor;
    }

    public void setTagColor(String tagColor) {
        this.tagColor = tagColor;
    }
}
